package com.ypj.indusynergyems.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("cart")
public class CartEntity {
    private int id;
    @TableField(exist = false)
    private String dateTime;
    private int userId;
    private int goodsId;
    @TableField(exist = false)
    private String godsName;
    private int shopId;
    @TableField(exist = false)
    private String shopName;
    private double price;
    private int count;
    @TableField(exist = false)
    private String godsImg;
}
